package com.csw.shuanfa.SuanFa.shujvjiegou;

import lombok.extern.slf4j.Slf4j;

/**
 * @author 1
 */
@Slf4j
public class PrintShuZu {

    public static void print(int[] aab) {
        log.info("" + "结果是：");
        for (int i : aab) {
            if (aab[aab.length - 1] == i) {
                log.info("" + i);
            } else {
                log.info("" + i + ",");
            }
        }
        log.info("" + "\n");
    }

}
